package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.TkzhishidianDao;
import com.bootdo.contract.domain.TkzhishidianDO;
import com.bootdo.contract.service.TkzhishidianService;


@Service
public class TkzhishidianServiceImpl implements TkzhishidianService {
    @Autowired
    private TkzhishidianDao tkzhishidianDao;

    @Override
    public TkzhishidianDO get(Integer id) {
        return tkzhishidianDao.get(id);
    }

    @Override
    public List <TkzhishidianDO> list(Map <String, Object> map) {
        System.out.println(map);
        return tkzhishidianDao.list(map);
    }

    @Override
    public int count(Map <String, Object> map) {
        return tkzhishidianDao.count(map);
    }

    @Override
    public int save(TkzhishidianDO tkzhishidian) {
        return tkzhishidianDao.save(tkzhishidian);
    }

    @Override
    public int update(TkzhishidianDO tkzhishidian) {
        return tkzhishidianDao.update(tkzhishidian);
    }

    @Override
    public int remove(Integer id) {
        return tkzhishidianDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return tkzhishidianDao.batchRemove(ids);
    }

}
